From 91ee629f832b45a78629853834df0800cc598731 Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Fri, 16 Sep 2005 16:53:30 -0600 Subject: [PATCH] PAL cache flush (added during VTI merge) breaks on simulator --- xen/arch/ia64/xen/domain.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c index a27879c68d..76914bdc0c 100644 --- a/xen/arch/ia64/xen/domain.c +++ b/xen/arch/ia64/xen/domain.c @@ -951,10 +951,12 @@ int construct_dom0(struct domain *d, // memcpy((void *)vinitrd_start, initrd_start, initrd_len); /* Sync d/i cache conservatively */ - ret = ia64_pal_cache_flush(4, 0, &progress, NULL); - if (ret != PAL_STATUS_SUCCESS) - panic("PAL CACHE FLUSH failed for dom0.\n"); - printk("Sync i/d cache for dom0 image SUCC\n"); + if (!running_on_sim) { + ret = ia64_pal_cache_flush(4, 0, &progress, NULL); + if (ret != PAL_STATUS_SUCCESS) + panic("PAL CACHE FLUSH failed for dom0.\n"); + printk("Sync i/d cache for dom0 image SUCC\n"); + } /* Set up start info area. */ si = (start_info_t *)alloc_xenheap_page(); -- 2.30.2